package com.xiaoshuai.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaoshuai.mapper.UserMapper;
import com.xiaoshuai.po.User;
import com.xiaoshuai.service.UseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UseServiceImpl extends ServiceImpl<UserMapper, User> implements UseService {
    @Resource
    private UserMapper userMapper;


    @Override
    public List<User> getData() {
       return userMapper.getAll();
    }
}
